<?php
/**
 * Created by PhpStrom
 * User: 郭碧云
 * Date: 2021/7/7 9:11
 * Desc:
 */

namespace App\Models;


class CategoryVersion extends BaseModel
{
    protected $table="category_version";
    protected $fillable = ['category_id', 'version_id', 'default','usable'];
    protected $casts = [
        'created_at' => 'datetime:Y-m-d',
        'updated_at' => 'datetime:Y-m-d',
    ];

    protected $declares = [
        "category_id"=>["category_id","="],
        "version_id"=>["version_id","="],
        "default"=>["default","="],
        "usable" => ["usable", "="]
    ];
}
